package com.ruoyi.wx.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.wx.domain.PtQuestion;
import com.ruoyi.wx.domain.dto.PtQuestionDTO;
import com.ruoyi.wx.mapper.PtQuestionMapper;
import com.ruoyi.wx.service.IPtQuestionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author moxiu
 * @since 2021-11-13
 */
@Service
public class PtQuestionServiceImpl extends ServiceImpl<PtQuestionMapper, PtQuestion> implements IPtQuestionService {

	@Autowired
	private PtQuestionMapper questionMapper;


	@Override
	public List<PtQuestionDTO> getQuestionByExpId(Long expId) {
		return questionMapper.selectQuestionList(expId);
	}
}
